package cn.zniot.so.transport.asynpack;

import cn.zniot.so.application.constant.Constants;


/**
 * 心跳回复报文
 */
public class HBPacketD extends AsynPacketD {
    private static HBPacketD instance = new HBPacketD();

    private HBPacketD() {
        super(PacketType.HB_D);
    }

    public static HBPacketD getInstance() {
        return instance;
    }
    
    private static byte[] heartBreak = Constants.HEART_BEAT_DOWN;

    public  byte[] getHeartBreak() {
        return heartBreak;
    }

    public void setHeartBreak(byte[] heartBreak) {
        HBPacketD.heartBreak = heartBreak;
    }
    
}
